import curses


class Color:
	PAGE_BAR = 1
	WINDOW = 2
	CONTAINER = 3
	HEADER = 4

	NORMAL = 10
	UNKNOWN = 11
	WORKING = 12
	GOOD = 13
	BAD = 14
	INCREASE = 13
	DECREASE = 14


def initialize():
	# initialize default colors
	curses.start_color()
	curses.use_default_colors()

	# define custom color pairs
	curses.init_pair(Color.PAGE_BAR, curses.COLOR_YELLOW, curses.COLOR_BLACK)
	curses.init_pair(Color.WINDOW, curses.COLOR_WHITE, curses.COLOR_BLUE)
	curses.init_pair(Color.CONTAINER, curses.COLOR_WHITE, -1)
	curses.init_pair(Color.HEADER, curses.COLOR_CYAN, curses.COLOR_BLUE)

	curses.init_pair(Color.NORMAL, curses.COLOR_WHITE, -1)
	curses.init_pair(Color.UNKNOWN, curses.COLOR_BLUE, -1)
	curses.init_pair(Color.WORKING, curses.COLOR_YELLOW, -1)
	curses.init_pair(Color.GOOD, curses.COLOR_GREEN, -1)
	curses.init_pair(Color.BAD, curses.COLOR_RED, -1)
